package com.sptus.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sptus.common.annotation.DataSource;
import com.sptus.common.enums.DataSourceType;
import com.sptus.service.ISptUserParentService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import com.sptus.mapper.slave.SptUserParentMapper;
import com.sptus.entity.SptUserParent;

/**
 * @Description: spt_user_parent
 * @Author: jeecg-boot
 * @Date:   2024-11-27
 * @Version: V1.0
 */
@Service
@DataSource(DataSourceType.SLAVE)
public class SptUserParentServiceImpl extends ServiceImpl<SptUserParentMapper, SptUserParent> implements ISptUserParentService {

    @Override
    public List<HashMap<String, String>> selectListInfo(LambdaQueryWrapper<SptUserParent> sptUserParentLambdaQueryWrapper) {
        return this.getBaseMapper().selectListInfo(sptUserParentLambdaQueryWrapper);
    }

    @Override
    public List<HashMap<String, String>> selectChildListInfo(LambdaQueryWrapper<SptUserParent> sptUserParentLambdaQueryWrapper) {
        return this.getBaseMapper().selectChildListInfo(sptUserParentLambdaQueryWrapper);
    }
}
